<?php


namespace app\index\model;



class Chat extends Base
{
    protected $pk = 'chat_id';
    public function getUser()
    {
        return $this->belongsTo('app\user\model\User','get_u_id','u_id');
    }
    public function sendUser()
    {
        return $this->belongsTo('app\user\model\User','send_u_id','u_id');
    }

}